.class Lrexsee/network/RexseeInstantAudio$5;
.super Lrexsee/network/SocketAbstractClass$SocketDataListener;
.source "RexseeInstantAudio.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrexsee/network/RexseeInstantAudio;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/network/RexseeInstantAudio;


# direct methods
.method constructor <init>(Lrexsee/network/RexseeInstantAudio;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/network/RexseeInstantAudio$5;->this$0:Lrexsee/network/RexseeInstantAudio;

    .line 140
    invoke-direct {p0}, Lrexsee/network/SocketAbstractClass$SocketDataListener;-><init>()V

    return-void
.end method


# virtual methods
.method public run(Ljava/lang/String;J[B)V
    .locals 4
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "index"    # J
    .param p4, "bytes"    # [B

    .prologue
    .line 144
    const-wide/16 v1, -0x1

    cmp-long v1, p2, v1

    if-eqz v1, :cond_1

    :try_start_0
    iget-object v1, p0, Lrexsee/network/RexseeInstantAudio$5;->this$0:Lrexsee/network/RexseeInstantAudio;

    # getter for: Lrexsee/network/RexseeInstantAudio;->mServerAllowPlayback:Z
    invoke-static {v1}, Lrexsee/network/RexseeInstantAudio;->access$5(Lrexsee/network/RexseeInstantAudio;)Z

    move-result v1

    move v0, v1

    .line 145
    .local v0, "mAllowPlayback":Z
    :goto_0
    if-eqz v0, :cond_0

    iget-object v1, p0, Lrexsee/network/RexseeInstantAudio$5;->this$0:Lrexsee/network/RexseeInstantAudio;

    # getter for: Lrexsee/network/RexseeInstantAudio;->mAudioTrack:Landroid/media/AudioTrack;
    invoke-static {v1}, Lrexsee/network/RexseeInstantAudio;->access$15(Lrexsee/network/RexseeInstantAudio;)Landroid/media/AudioTrack;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lrexsee/network/RexseeInstantAudio$5;->this$0:Lrexsee/network/RexseeInstantAudio;

    # getter for: Lrexsee/network/RexseeInstantAudio;->mAudioTrack:Landroid/media/AudioTrack;
    invoke-static {v1}, Lrexsee/network/RexseeInstantAudio;->access$15(Lrexsee/network/RexseeInstantAudio;)Landroid/media/AudioTrack;

    move-result-object v1

    const/4 v2, 0x0

    array-length v3, p4

    invoke-virtual {v1, p4, v2, v3}, Landroid/media/AudioTrack;->write([BII)I

    .line 148
    .end local v0    # "mAllowPlayback":Z
    :cond_0
    :goto_1
    return-void

    .line 144
    :cond_1
    iget-object v1, p0, Lrexsee/network/RexseeInstantAudio$5;->this$0:Lrexsee/network/RexseeInstantAudio;

    # getter for: Lrexsee/network/RexseeInstantAudio;->mClientAllowPlayback:Z
    invoke-static {v1}, Lrexsee/network/RexseeInstantAudio;->access$6(Lrexsee/network/RexseeInstantAudio;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    move v0, v1

    goto :goto_0

    .line 146
    :catch_0
    move-exception v1

    goto :goto_1
.end method
